/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * Portions created by the Initial Developer are
 * Copyright (C) 2012 the Initial Developer.
 * All Rights Reserved.
 *
 * The Original Code is "http://semi-frame.googlecode.com/svn/trenk/".
 *
 * The Initial Developer of the Original Code is the author below.
 */
/**
 * @file TimerMessage.h
 * @brief auto generated.
 * @author mornongcloud
 * @date 2012/07/21
 */

#ifndef SEMIIPCTimerMessage_H_
#define SEMIIPCTimerMessage_H_

#include <sys/wait.h>
#include <sys/time.h>
#include "semi/conf/TimerConfig.h"
#include "semi/util/DateUtil.h"
#include "semi/ipc/MessageQue.h"
#include "semi/logg/Logger.h"
#include "semi/CurrentTasks.h"

namespace semi {

class TimerMessage {
public:

	TimerMessage();

	virtual ~TimerMessage();

	int send(conf::TasksConfig::TaskConfig tconf);

	//	int cancel();

protected:

	//	conf::TimerConfig TimCnf;
	//	int child_pid;
};

}

#endif /* SEMIIPCTimerMessage_H_ */
